home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / cad / drafix quickcad / PRO400 / MACROS / SNAPNOW.D < prev   
Encoding:
Text File  |  1995-12-13  |  340 b   |  13 lines

  1. // snapnow.d
  2. // displays the current grid snap interval
  3. // Use SnapNow.bmp for tool in a custom toolbox
  4.  
  5. XY    xySnap;
  6. STRING    Message, CurrentSnap;
  7.  
  8. GetData("GridSnap", xySnap);
  9. CurrentSnap = "The current Gridsnap is: "+Format("length", xySnap.X);
  10. Print(CurrentSnap,"\n");
  11. Display("message","error", CurrentSnap);
  12. // [EndOfMacro]